package com.alibaba.citrus.cr.mn.order.center.forecastorder.convert;

import com.epoch.app.crforecastsales.sdo.ForecastOrderLineSDO;
import com.epoch.app.mnordercenter.model.dto.CreateForecastDetailResponseDTO;

public class ForecastOrderLineSDOToCreateForecastDetailResponseDTOConvertor {
    public static CreateForecastDetailResponseDTO convert(ForecastOrderLineSDO forecastOrderLineSDO) {
        CreateForecastDetailResponseDTO detailResponseDTO = new CreateForecastDetailResponseDTO();
        detailResponseDTO.setSourceLineNum(forecastOrderLineSDO.getSourceLineNum());
        detailResponseDTO.setLineNum(forecastOrderLineSDO.getSerialNumber());
        return detailResponseDTO;
    }
}
